-- GENERATED SPELL FOR [Brunnhildar Warmaiden] --


function spell0_29498(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29498', 592, 1)
end

function Sorts_29498(pUnit, Event)
local choix_sorts_29498 = math.random(0, 0)
if choix_sorts_29498 == 0 then
pUnit:RegisterEvent('spell0_29498', 1, 1)
end
end

function mob29498_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29498', math.random(1500, 3000), 1)
end

function mob29498_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29498_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29498_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29498, 1, 'mob29498_Action')
RegisterUnitEvent(29498, 2, 'mob29498_Leave')
RegisterUnitEvent(29498, 3, 'mob29498_Kill')
RegisterUnitEvent(29498, 4, 'mob29498_Die')
